package com.example.xingzai.myapplication;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.View;


public class BcActivity extends AppCompatActivity implements View.OnClickListener {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_bc);

        findViewById(R.id.BC).setOnClickListener(this);
    }


    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.BC:
                Intent intent = new Intent();
                intent.setClass(BcActivity.this, CbActivity.class);
                BcActivity.this.startActivity(intent);
                break;
        }
    }
}
